package ${dtoMapperPackage};

import ${dtoPackage}.${className}Dto;
import ${poPackage}.${className};
import org.mapstruct.Mapper;

/**
* ${classComment} 数据传输映射
*/
@Mapper(componentModel = "spring")
public interface ${className}Mapper {

    /**
    * ${className}转为${className}Dto
    */
    ${className}Dto toDto(${className} ${className?uncap_first});

    /**
    * ${className}列表转为${className}Dto列表
    */
    List<${className}Dto> toDto(List<${className}> ${className?uncap_first}s);

    /**
    * ${className}Dto转为${className}
    */
    ${className} toPo(${className}Dto ${className?uncap_first}Dto);

    /**
    * ${className}Dto列表转为${className}列表
    */
    List<${className}> toDto(List<${className}Dto> ${className?uncap_first}Dtos);

}
